import request from '../utils/request'


export function getProjectssList(param) {
    return request({
      url: '/project/list',
      method: 'get',
      params: {  // GET请求使用params
        pageNum: param.pageNum,
        pageSize:param.pageSize,
        keyword:param.keyword,
        projectCategoryId:param.projectCategoryId,
        techStack:param.techStack,
      }
    })
}


export function getProjectById(id) {
  return request({
    url: '/project/getById/' + id,
    method: 'get',
  })
}